package
{
	public final class DataController
	{
		import generated.webservices.*;
		
		private static const urlPrefix: String = "http://localhost/Album/"; 
		
		public static function GetMObjectThumbnailLink(d: MObject): String {
			if (d != null)				
				return urlPrefix + "GetObject.ashx?ID=" + d.ID.toString()
			else
				return "";
		}
		
		public static function GetMediaWsUrl(): String {
			return urlPrefix + "MediaWS.asmx";
		}
	}
}